package org.jeecg.modules.wlhy.tj.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HyCJTjVO implements Serializable {
    private static final long serialVersionUID = 1L;

	@Excel(name = "公司", width = 15, dictTable = "hy_company", dicText = "company_name", dicCode = "id")
	@Dict(dictTable = "hy_company", dicText = "company_name", dicCode = "id")
	@ApiModelProperty(value = "公司")
	private String companyId;

	@Excel(name = "货主", width = 15, dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
	@Dict(dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
	@ApiModelProperty(value = "所属货主")
	private String customerId;

	@Dict(dictTable = "hy_customer", dicText = "customer_name", dicCode = "id")
	@ApiModelProperty(value = "经纪人")
	private String agentId;

	@ApiModelProperty(value = "运单数量")
	private Integer shippingCount;

	/**实际装载量*/
	@Excel(name = "合计装载量", width = 15)
	@ApiModelProperty(value = "合计装载量")
	private BigDecimal goodsWeightLoading;
	/**实际卸货量*/
	@Excel(name = "合计卸货量", width = 15)
	@ApiModelProperty(value = "合计卸货量")
	private BigDecimal goodsWeightUnloading;
	/**实际运费金额*/
	@Excel(name = "合计运费金额", width = 15)
	@ApiModelProperty(value = "合计运费金额")
	private BigDecimal costPayShipping;
	/**服务费*/
	@Excel(name = "合计服务费", width = 15)
	@ApiModelProperty(value = "合计服务费")
	private BigDecimal costService;
	/**亏损金额*/
	@Excel(name = "合计亏损金额", width = 15)
	@ApiModelProperty(value = "合计亏损金额")
	private BigDecimal costLoss;

	/**货物实际亏损量*/
	@Excel(name = "合计亏损量", width = 15)
	@ApiModelProperty(value = "合计亏损量")
	private BigDecimal goodsWeightLoss;

	/**实际运费金额*/
	@Excel(name = "合计应付运费", width = 15)
	@ApiModelProperty(value = "合计应付运费")
	private BigDecimal costPay;
	/**亏损金额*/
	@Excel(name = "总实付合计", width = 15)
	@ApiModelProperty(value = "总实付合计")
	private BigDecimal costPayTotal;


	@Excel(name = "经纪人应付运费", width = 15,type = 4)
	@ApiModelProperty(value = "经纪人应付运费")
	private BigDecimal agentCostPay;

	@Excel(name = "经纪人实付运费", width = 15,type = 4)
	@ApiModelProperty(value = "经纪人实付运费")
	private BigDecimal agentCostPayShipping;

	@Excel(name = "经纪人实付合计", width = 15,type = 4)
	@ApiModelProperty(value = "经纪人实付合计")
	private BigDecimal agentCostPayTotal;

	@Excel(name = "油气费", width = 15,type = 4)
	@ApiModelProperty(value = "油气费")
	private BigDecimal gasRechargeAmount;

	private BigDecimal driverFee;

	private BigDecimal customerFee;

	private BigDecimal agentFee;

	/**司机*/
	@Excel(name = "司机", width = 15, dictTable = "hy_driver", dicText = "driver_name", dicCode = "id")
	@Dict(dictTable = "hy_driver", dicText = "driver_name", dicCode = "id")
	@ApiModelProperty(value = "司机")
	private String driverId;
	/**车辆*/
	@Excel(name = "车辆", width = 15, dictTable = "hy_vehicle", dicText = "vehicle_number", dicCode = "id")
	@Dict(dictTable = "hy_vehicle", dicText = "vehicle_number", dicCode = "id")
	@ApiModelProperty(value = "车辆")
	private String vehicleId;

	/**运费支付时间*/
	@Excel(name = "运费支付时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "运费支付时间")
	private Date payDt;


	private String nian;

	private String yue;

	private String heji;
	private String shippingNoteNumber;

	private String owner;

	private String ownercount;

	/**所属货源*/
	@Excel(name = "货源号", width = 15, dictTable = "hy_order", dicText = "order_num", dicCode = "id")
	@Dict(dictTable = "hy_order", dicText = "order_num", dicCode = "id")
	@ApiModelProperty(value = "所属货源")
	private String orderId;


}
